package com.example.data.mapper;

import com.example.data.model.Records;
import com.example.page.Pageable;

import java.util.List;

/**
 * Created by hldev on 17-2-9.
 */
public interface RecordsMapper {

    Records findOne(Integer id);

    List<Records> findAll();

    void createRecords(Records Records);

    List<Records> findPage(Pageable pageable);

    void setStatus(Records Records);

    void delete(Integer id);
}
